package com.esri.core.io;

/* loaded from: classes.dex */
public class EsriUnsupportedException extends Exception implements EsriErrorCode {
    public static final int SPATIAL_REFERENCE_NOT_SUPPORTED = -10001;
    private static final long serialVersionUID = 1;
    private int a;

    public static String getMSG(int i) {
        return i != -10001 ? "Undefined error" : "The spatial reference is not supported.";
    }

    public EsriUnsupportedException(int i) {
        super(getMSG(i));
        this.a = -1;
        this.a = i;
    }

    public EsriUnsupportedException(Throwable th) {
        super(th);
        this.a = -1;
    }

    public EsriUnsupportedException(int i, String str, Throwable th) {
        super(str, th);
        this.a = -1;
        this.a = i;
    }

    public EsriUnsupportedException(int i, String str) {
        super(str);
        this.a = -1;
        this.a = i;
    }

    @Override // com.esri.core.io.EsriErrorCode
    public int getCode() {
        return this.a;
    }

    @Override // com.esri.core.io.EsriErrorCode
    public String getDescription() {
        return getMessage();
    }
}
